package com.appsino.bingluo.secret.http;

import io.reactivex.Observer;

/**
 * Created by Answer on 2018/3/1.
 */

public abstract class BaseObserver1<T> implements Observer<String> {
    private final int RESPONSE_CODE_OK = 0;       //自定义的业务逻辑，成功返回积极数据
    private int errorCode;
    private String errorMsg = "服务器繁忙，请稍后重试";
    private final int RESPONSE_CODE_FAILED = -1;  //返回数据失败,严重的错误

    @Override
    public void onNext(String value) {

    }

    @Override
    public void onComplete() {

    }

    @Override
    public void onError(Throwable e) {

    }

}
